package com.vueblog.common.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class LoginInfo implements Serializable {

    @NotBlank(message = "账号不能为空")
    private String user;

    @NotBlank(message = "密码不能为空")
    private String pwd;

}
